package com.service.impl;

import org.springframework.transaction.annotation.Transactional;
import com.service.UserloginService;
import com.domain.User;
import com.mapper.Usermapper;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Transactional
public  class UserImpl implements UserloginService {
    @Autowired
    private Usermapper usermapper;


    /**
     * @return
     */
    @Override
    public List<User> findalluser() {
        System.out.println("实现过程中");
        return usermapper.findalluser();
    }
}